﻿using Newtonsoft.Json;
using WMS.FC.Domain.DomainObject.System;

namespace WMS.FC.Domain.DataTransferObject.System
{
    public class HandleButtonDTO : RequestBase
    {
        /// <summary>
        /// 菜单ID
        /// </summary>
        [JsonProperty("menuId")]
        public string MenuId { get; set; } = string.Empty;

        /// <summary>
        /// 编辑数据/选中数据
        /// </summary>
        [JsonProperty("value")]
        public Dictionary<string, string> Value { get; set; } = new Dictionary<string, string>();

        /// <summary>
        /// 查询条件
        /// </summary>
        [JsonProperty("query")]
        public Dictionary<string, string> Query { get; set; } = new Dictionary<string, string>();

        /// <summary>
        /// 选中ID
        /// </summary>
        [JsonProperty("selectedIds")]
        public List<string> SelectedIds { get; set; } = new List<string>();
    }
}
